Add setup script with keeping directory structure#20
Add setup script with keeping directory structure#20yxhamada wants to merge 1 commit intooanda:masterfrom
Conversation
|
I agree that this code should be pip installable. Pull request #9 altered the directory structure to a structure that complies with https://pythonhosted.org/an_example_pypi_project/setuptools.html . This structure allows adding unittest also. I too had the problem with automated deployment to install the oandapy module using Ansible for my own project: oanda-trading-environment , which is pip installable from pypi: https://pypi.python.org/pypi/oanda-trading-environment/0.2.0. The current repository does not allow to install oandapy using pip. For this I altered the structure in a way like pull request #9 and Ansible installs oandapy from my fork with its own version number, which is not desirable. After this change installing and upgrading comes down to: a pypi package would even be more convenient: |
With using previous pull request #9 as a reference, added different type of setup script without changing current directory structure.